package com.zhongke.DKYCboot.bean;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class BaseDriver implements Serializable {
    private Integer id;

    private String driverName;

    private String driverSurname;

    private Integer driverSex;

    private String driverPhonenum;

    private String driverIdnumber;

    private Integer driverFlag;

    private Integer driverPassword;

    private String driverEmail;

    private String createTime;

    private String updateBy;

    private String updateTime;

    private String remark;

    private String driverFrontPic;

    private String driverAfterPic;

    private String driverStyle;

    private Date beginTime;

    private Date endTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDriverName() {
        return driverName;
    }

    public void setDriverName(String driverName) {
        this.driverName = driverName == null ? null : driverName.trim();
    }

    public String getDriverSurname() {
        return driverSurname;
    }

    public void setDriverSurname(String driverSurname) {
        this.driverSurname = driverSurname == null ? null : driverSurname.trim();
    }

    public Integer getDriverSex() {
        return driverSex;
    }

    public void setDriverSex(Integer driverSex) {
        this.driverSex = driverSex;
    }

    public String getDriverPhonenum() {
        return driverPhonenum;
    }

    public void setDriverPhonenum(String driverPhonenum) {
        this.driverPhonenum = driverPhonenum;
    }

    public String getDriverIdnumber() {
        return driverIdnumber;
    }

    public void setDriverIdnumber(String driverIdnumber) {
        this.driverIdnumber = driverIdnumber;
    }

    public Integer getDriverFlag() {
        return driverFlag;
    }

    public void setDriverFlag(Integer driverFlag) {
        this.driverFlag = driverFlag;
    }

    public Integer getDriverPassword() {
        return driverPassword;
    }

    public void setDriverPassword(Integer driverPassword) {
        this.driverPassword = driverPassword;
    }

    public String getDriverEmail() {
        return driverEmail;
    }

    public void setDriverEmail(String driverEmail) {
        this.driverEmail = driverEmail == null ? null : driverEmail.trim();
    }

    public String getCreateTime() {
        return createTime;
    }

    public void setCreateTime(String createTime) {
        this.createTime = createTime == null ? null : createTime.trim();
    }

    public String getUpdateBy() {
        return updateBy;
    }

    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy == null ? null : updateBy.trim();
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime == null ? null : updateTime.trim();
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }

    public String getDriverFrontPic() {
        return driverFrontPic;
    }

    public void setDriverFrontPic(String driverFrontPic) {
        this.driverFrontPic = driverFrontPic == null ? null : driverFrontPic.trim();
    }

    public String getDriverAfterPic() {
        return driverAfterPic;
    }

    public void setDriverAfterPic(String driverAfterPic) {
        this.driverAfterPic = driverAfterPic == null ? null : driverAfterPic.trim();
    }

    public String getDriverStyle() {
        return driverStyle;
    }

    public void setDriverStyle(String driverStyle) {
        this.driverStyle = driverStyle == null ? null : driverStyle.trim();
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(Date beginTime) {
        this.beginTime = beginTime;
    }
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", driverName=").append(driverName);
        sb.append(", driverSurname=").append(driverSurname);
        sb.append(", driverSex=").append(driverSex);
        sb.append(", driverPhonenum=").append(driverPhonenum);
        sb.append(", driverIdnumber=").append(driverIdnumber);
        sb.append(", driverFlag=").append(driverFlag);
        sb.append(", driverPassword=").append(driverPassword);
        sb.append(", driverEmail=").append(driverEmail);
        sb.append(", createTime=").append(createTime);
        sb.append(", updateBy=").append(updateBy);
        sb.append(", updateTime=").append(updateTime);
        sb.append(", remark=").append(remark);
        sb.append(", driverFrontPic=").append(driverFrontPic);
        sb.append(", driverAfterPic=").append(driverAfterPic);
        sb.append(", driverStyle=").append(driverStyle);
        sb.append(", beginTime=").append(beginTime);
        sb.append(", endTime=").append(endTime);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}